import service from '@/utils/request'

// @Tags FirstOrderProcessingEyespleen
// @Summary 创建首办单-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FirstOrderProcessingEyespleen true "创建首办单-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /firstOrderProcessingEyespleen/createFirstOrderProcessingEyespleen [post]
export const createFirstOrderProcessingEyespleen = (data) => {
  return service({
    url: '/firstOrderProcessingEyespleen/createFirstOrderProcessingEyespleen',
    method: 'post',
    data
  })
}

// @Tags FirstOrderProcessingEyespleen
// @Summary 删除首办单-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FirstOrderProcessingEyespleen true "删除首办单-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /firstOrderProcessingEyespleen/deleteFirstOrderProcessingEyespleen [delete]
export const deleteFirstOrderProcessingEyespleen = (params) => {
  return service({
    url: '/firstOrderProcessingEyespleen/deleteFirstOrderProcessingEyespleen',
    method: 'delete',
    params
  })
}

// @Tags FirstOrderProcessingEyespleen
// @Summary 批量删除首办单-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除首办单-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /firstOrderProcessingEyespleen/deleteFirstOrderProcessingEyespleen [delete]
export const deleteFirstOrderProcessingEyespleenByIds = (params) => {
  return service({
    url: '/firstOrderProcessingEyespleen/deleteFirstOrderProcessingEyespleenByIds',
    method: 'delete',
    params
  })
}

// @Tags FirstOrderProcessingEyespleen
// @Summary 更新首办单-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FirstOrderProcessingEyespleen true "更新首办单-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /firstOrderProcessingEyespleen/updateFirstOrderProcessingEyespleen [put]
export const updateFirstOrderProcessingEyespleen = (data) => {
  return service({
    url: '/firstOrderProcessingEyespleen/updateFirstOrderProcessingEyespleen',
    method: 'put',
    data
  })
}

// @Tags FirstOrderProcessingEyespleen
// @Summary 用id查询首办单-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.FirstOrderProcessingEyespleen true "用id查询首办单-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /firstOrderProcessingEyespleen/findFirstOrderProcessingEyespleen [get]
export const findFirstOrderProcessingEyespleen = (params) => {
  return service({
    url: '/firstOrderProcessingEyespleen/findFirstOrderProcessingEyespleen',
    method: 'get',
    params
  })
}

// @Tags FirstOrderProcessingEyespleen
// @Summary 分页获取首办单-眼型脾型列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取首办单-眼型脾型列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /firstOrderProcessingEyespleen/getFirstOrderProcessingEyespleenList [get]
export const getFirstOrderProcessingEyespleenList = (params) => {
  return service({
    url: '/firstOrderProcessingEyespleen/getFirstOrderProcessingEyespleenList',
    method: 'get',
    params
  })
}
